﻿define('api/timeService', [], function() {

	return {
		getYears: function(diff){
			var a = [];
			var d = new Date().getFullYear();
			for(var i=0; i<diff; i++) {
				a.push(d-i);
			}
			return a;
		}
	};
	
});
